#pragma once
#include <QWidget>
#include <ui_imageshow.h>
#include <opencv.hpp>
class imageshow :
    public QWidget
{
public:
    imageshow(QWidget* parent = nullptr);
    void setimg(const cv::Mat& mat);
    Ui::Form ui;
private:
    cv::Mat imgbuffer;
};

